ancient mechanism